package com.eelye.util;

import java.util.Collections;
import java.util.HashSet;
import java.util.Set;

public class SetUtil {

    public static <E> Set<E> of(E... elements) {
        Set<E> set = new HashSet<>();
        Collections.addAll(set, elements);

        return set;
    }

}
